package cn.juque.jdfsystem.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>ConfigCodeEnum</li>
 * </ul>
 * @date 2023-01-09 16:39:56
 **/
public enum ConfigCodeEnum {

    /**
     * enum
     */
    NODE_NAME("NODE_NAME", "节点名称"),

    BIND_IP("BIND_IP", "绑定IP"),

    WORKSPACE_ID("WORKSPACE_ID", "工作空间ID"),

    FILE_PATH("FILE_PATH", "文件保存路径"),
    USER_MAC_SECRET("USER_MAC_SECRET", "用户密码秘钥"),
    SIGNATURE("SIGNATURE", "消息同步的签名"),

    HOT_FILE_NUMBER("HOT_FILE_NUMBER", "热点文件缓存数量"),

    CHECK_FILE_LIMIT_DAY("CHECK_FILE_LIMIT_DAY", "盘点文件限制最大天数"),

    REGISTER_AES_KEY("REGISTER_AES_KEY", "注册信息加密的密钥"),

    TRANSFER_DRIVER("TRANSFER_DRIVER", "迁移任务的驱动"),
    TRANSFER_URL("TRANSFER_URL", "迁移任务的url"),
    TRANSFER_USERNAME("TRANSFER_USERNAME", "迁移任务的用户名"),
    TRANSFER_PASSWORD("TRANSFER_PASSWORD", "迁移任务的密码"),
    TRANSFER_START("TRANSFER_START", "开始迁移标识"),

    LOGGER("LOGGER", "日志级别"),
    ;
    private final String code;

    private final String label;

    ConfigCodeEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }
}
